package com.lxk.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class Goods implements Serializable {
    private Integer goodsId;

    private String goodsName;

    private String goodsTitle;

    private String goodsParam;

    private String goodsPic;

    private BigDecimal goodsPrice;

    private Integer goodsType;

    private Integer isTicket;

    private Integer shopId;

    private Integer goodsStock;

    private Integer goodsSales;

    private String goodsAddr;

    private Double goodsLng;

    private Double goodsLat;

    private Date goodsTime;

    private Date modifyTime;

    private Float goodsScore;

    private Integer starNum;

    private Integer viewNum;

    private String goodsDetail;

    private static final long serialVersionUID = 1L;

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName == null ? null : goodsName.trim();
    }

    public String getGoodsTitle() {
        return goodsTitle;
    }

    public void setGoodsTitle(String goodsTitle) {
        this.goodsTitle = goodsTitle == null ? null : goodsTitle.trim();
    }

    public String getGoodsParam() {
        return goodsParam;
    }

    public void setGoodsParam(String goodsParam) {
        this.goodsParam = goodsParam == null ? null : goodsParam.trim();
    }

    public String getGoodsPic() {
        return goodsPic;
    }

    public void setGoodsPic(String goodsPic) {
        this.goodsPic = goodsPic == null ? null : goodsPic.trim();
    }

    public BigDecimal getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(BigDecimal goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public Integer getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(Integer goodsType) {
        this.goodsType = goodsType;
    }

    public Integer getIsTicket() {
        return isTicket;
    }

    public void setIsTicket(Integer isTicket) {
        this.isTicket = isTicket;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public Integer getGoodsStock() {
        return goodsStock;
    }

    public void setGoodsStock(Integer goodsStock) {
        this.goodsStock = goodsStock;
    }

    public Integer getGoodsSales() {
        return goodsSales;
    }

    public void setGoodsSales(Integer goodsSales) {
        this.goodsSales = goodsSales;
    }

    public String getGoodsAddr() {
        return goodsAddr;
    }

    public void setGoodsAddr(String goodsAddr) {
        this.goodsAddr = goodsAddr == null ? null : goodsAddr.trim();
    }

    public Double getGoodsLng() {
        return goodsLng;
    }

    public void setGoodsLng(Double goodsLng) {
        this.goodsLng = goodsLng;
    }

    public Double getGoodsLat() {
        return goodsLat;
    }

    public void setGoodsLat(Double goodsLat) {
        this.goodsLat = goodsLat;
    }

    public Date getGoodsTime() {
        return goodsTime;
    }

    public void setGoodsTime(Date goodsTime) {
        this.goodsTime = goodsTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Float getGoodsScore() {
        return goodsScore;
    }

    public void setGoodsScore(Float goodsScore) {
        this.goodsScore = goodsScore;
    }

    public Integer getStarNum() {
        return starNum;
    }

    public void setStarNum(Integer starNum) {
        this.starNum = starNum;
    }

    public Integer getViewNum() {
        return viewNum;
    }

    public void setViewNum(Integer viewNum) {
        this.viewNum = viewNum;
    }

    public String getGoodsDetail() {
        return goodsDetail;
    }

    public void setGoodsDetail(String goodsDetail) {
        this.goodsDetail = goodsDetail == null ? null : goodsDetail.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", goodsId=").append(goodsId);
        sb.append(", goodsName=").append(goodsName);
        sb.append(", goodsTitle=").append(goodsTitle);
        sb.append(", goodsParam=").append(goodsParam);
        sb.append(", goodsPic=").append(goodsPic);
        sb.append(", goodsPrice=").append(goodsPrice);
        sb.append(", goodsType=").append(goodsType);
        sb.append(", isTicket=").append(isTicket);
        sb.append(", shopId=").append(shopId);
        sb.append(", goodsStock=").append(goodsStock);
        sb.append(", goodsSales=").append(goodsSales);
        sb.append(", goodsAddr=").append(goodsAddr);
        sb.append(", goodsLng=").append(goodsLng);
        sb.append(", goodsLat=").append(goodsLat);
        sb.append(", goodsTime=").append(goodsTime);
        sb.append(", modifyTime=").append(modifyTime);
        sb.append(", goodsScore=").append(goodsScore);
        sb.append(", starNum=").append(starNum);
        sb.append(", viewNum=").append(viewNum);
        sb.append(", goodsDetail=").append(goodsDetail);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}